<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
    <title>Hello World</title>
</head>
<body>
<h1>Hello World Struts2</h1>
<form action="hello">
    <label for="name">请输入昵称</label><br/>
    <input type="text" name="name"/>
    <input type="submit" value="Enter"/>
</form>
</body>
</html>